import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path:'/adminLoGin',
      component:()=>import('@/views/AdminLoGin.vue')
    },
    {
      path:'/departmenAdd',
      component:()=>import('@/views/department/DepartmenAdd.vue')
    },
    {
      path:'/departmenList',
      component:()=>import('@/views/department/DepartmenList.vue')
    },
    {
      path:'/departmentUpdate',
      component:()=>import('@/views/department/DepartmentUpdate.vue')
    },
    {
      path:'/wardAdd',
      component:()=>import('@/views/ward/WardAdd.vue')
    },
    {
      path:'/wardList',
      component:()=>import('@/views/ward/WardList.vue')
    },
    {
      path:'/doctorAdd',
      component:()=>import('@/views//doctor/DoctorAdd.vue')
    },
    {
      path:'/doctorList',
      component:()=>import('@/views/doctor/DoctorList.vue')
    },
    {
      path:'/doctordiscount',
      component:()=>import('@/views/doctor/Doctordiscount.vue')
    }
  ],
})

export default router
